<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>    
<style type="text/css">
table{
	width: 800px;
	border-collapse: collapse;
}
td,th{
	padding: 8px 15px;
	text-align: center;
}
</style>    
<h3>班级成绩</h3>
<table border="1" >	
	<thead>
		<tr>

			<th>姓名</th>		
			<c:forEach items="${kcs}" var="kc">
				<th>${kc.name}</th>
			</c:forEach>
			<th>总分</th>
		</tr>
	</thead>
	<tbody>
		<c:forEach items="${cjb}" var="row">
		<tr>
			<c:forEach items="${row}" var="cell">
			<td>${cell}</td>
			</c:forEach>			
		</tr>		
		</c:forEach>	
	</tbody>